﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NeuralNetwork.Neurons
{
    class InputNeuron : Neuron
    {
        public InputNeuron(Network network) : base(network)
        {
            
        }

        override public bool Update()
        {
            value = potential;
            foreach (Axon axon in axons) axon.Absorb(value);
            return true;
        }

        override public void Prune()
        {
            // Do nothing
        }
    }
}
